package comxin.demo1.nodestream;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStreamdemo_02 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("IO//IOdemo_01",true);
        for (int i=0;i<10;i++){
            fos.write("abcde".getBytes());
            fos.write("\n\r".getBytes());
        }
        fos.close();
    }
}
